<!--小说分类页面-->
<template>
    <div>
<!--        分类数据-->
        <div>
            <el-table :data="list" :stripe="true">
                <el-table-column prop="id" label="分类ID"></el-table-column>
                <el-table-column prop="title" label="类型名称"></el-table-column>
                <el-table-column prop="create_time" label="创建时间"></el-table-column>
                <el-table-column prop="update_time" label="更新时间"></el-table-column>
                <el-table-column prop="status" label="数据状态"></el-table-column>
                <el-table-column>
                    <template slot-scope="scope">
                        <el-button type="primary" icon="el-icon-edit" size="small"></el-button>
                        <el-button type="primary" icon="el-icon-share" size="small"></el-button>
                    </template>
                </el-table-column>
            </el-table>
        </div>
<!--        分页-->
        <div>
            <el-pagination background layout="prev, pager, next" :total="100"></el-pagination>
        </div>
    </div>
</template>

<script>
    export default {
        name: "BookCategory",
        data() {
            return{
                list : {},
            }
        },
        created() {
            this.$http.post("cate/list").then(response=>{
                this.list=response.data
            })
        },
        methods:{

        }
    }
</script>

<style scoped>

</style>
